{template 'header', $module}
<script type="text/javascript">c(2);var errimg = '{DT_SKIN}image/nopic60.gif';</script>
<div class="menu">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="tab" id="action"><a href="?action=list&itemid={$itemid}"><span>所有报价</span></a></td>
<td class="tab" id="action_order"><a href="?action=list&status=20&itemid={$itemid}"><span>已报价</span></a></td>
<td class="tab" id="action_express"><a href="?action=list&status=30&itemid={$itemid}"><span>投标成功</span></a></td>
<td class="tab" id="action_expres1s"><a href="?action=list&status=40&itemid={$itemid}"><span>投标失败</span></a></td>
</tr>
</table>
</div>
<div class="bd">
<table cellpadding="6" cellspacing="0" class="tb">
<tr bgcolor="#F2F2F2" align="center">
<td width="180">商品信息</td>
<td width="60">数量</td>
<td width="150">价格要求</td>
<td width="150">我的报价</td>
<td width="80">下单时间</td>
<td width="90">公司</td>
<td width="30">联系人</td>
<td width="40">订单状态</td>
{if $v['flag']<8}{if  $itemid>0}<td width="80">操作</td>{/if}{/if}
</tr>
</table>
{loop $lists $k $v}
<table cellpadding="6" cellspacing="0" class="tb">
<tr bgcolor="#F5F5F5" align="center">
    <td class="f_gray" width="180"><strong>{$v[title]}</strong></td>
<td width="60">{$v[amount]}</td>
<td width="150">{$v[price]}<font>(元)</font></td>
<td width="150">{$v[price1]}<font>(元)</font></td>
<td width="80">{timetodate($v[add_time], 5)}</td>
<td width="90"><FONT color="red">{$v[company]}</font></td>
<td width="30">{$v[truename]}</td>
<td width="40">
    {if $v[status]==20}<FONT color="blue">已报价</FONT>{/if}
    {if $v[status]==30}<FONT color="red">投标成功</FONT>{/if}
    {if $v[status]==40}<FONT color="gray">投标失败</FONT>{/if}
</td>
{if $v['flag']<8}{if  $itemid>0}<td width="80">
 <a href="?action=pass&itemid={$itemid}&id={$v[id]}" onclick="return confirm('确定选择合作此报价单？')">通过</a>{/if}
    </td>{/if}
</tr>
</table>
<br/>
{/loop}
</div>
{template 'footer', $module}